package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.User;

public interface UserService {
    User findByName(String username);

    PageResult findPage(QueryPageBean queryPageBean);

    boolean userAdd(User user, Integer[] roleIds);

    User findById(Integer id);

    boolean update(User user,Integer[] roleIds);

    boolean deleteById(Integer id);
}
